package cn.ybk.system.domain;


import cn.ybk.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role extends BaseDomain {

    private String name;
    private String sn;

    private List<Long> permissions;
    private List<Long> menus;

    private List<Menu> ownMenus;


}
